package com.freecloud.javabasics.design.state.simple;

import com.freecloud.common.LoggerUtil;

/**
 * @Author: maomao
 * @Date: 2020-03-18 20:56
 */
public class LoginState extends UserState {
    @Override
    public void favorite() {
        LoggerUtil.println("收藏成功");
    }

    @Override
    public void comment(String comment) {
        LoggerUtil.println("评论成功");
    }
}
